package com.itheima.pojo;

import java.io.Serializable;

public class Travel implements Serializable {
    private Integer id;
    private String code;
    private String name;
    private String travelTimes;
    private String travelTime;

    public Travel() {
    }

    public Travel(Integer id, String code, String name, String travelTimes, String travelTime) {
        this.id = id;
        this.code = code;
        this.name = name;
        this.travelTimes = travelTimes;
        this.travelTime = travelTime;
    }

    public Travel(String code, String name, String travelTimes, String travelTime) {
        this.code = code;
        this.name = name;
        this.travelTimes = travelTimes;
        this.travelTime = travelTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTravelTimes() {
        return travelTimes;
    }

    public void setTravelTimes(String travelTimes) {
        this.travelTimes = travelTimes;
    }

    public String getTravelTime() {
        return travelTime;
    }

    public void setTravelTime(String travelTime) {
        this.travelTime = travelTime;
    }
}
